import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { CommonModule } from '@angular/common';

import { PaginationModule } from "ng2-bootstrap/pagination";
import { SelectComponent } from './select/select.component';
import { IterableModule } from "../../pipe/iterable.pipe";
import { AppPagination } from "./pagination/pagination.component";
import { AlertModule } from 'ng2-bootstrap/alert';
import { ModalModule } from 'ng2-bootstrap/modal';

@NgModule({
  declarations: [
    SelectComponent,
    AppPagination
  ],
  imports: [
    FormsModule,
    CommonModule,    
    IterableModule,
    PaginationModule.forRoot(),
    ModalModule.forRoot(),
    AlertModule.forRoot()
  ],
  providers: [
  ],
  exports:[
    //FormsModule,
    //CommonModule,    
    SelectComponent,
    AppPagination,
    AlertModule,
    ModalModule
  ]
})
export class ShareModule { }
